class Page < ActiveRecord::Base
    has_many :events
    belongs_to :user
    
    validates_uniqueness_of :title
    validates_presence_of :title, :text
end
